//
//  MarkLabel.swift
//  swiftProject
//
//  Created by ZhangSai on 2021/6/18.
//

import UIKit

class MarkLabel: UILabel {
    
    class func createSignLabWithText(titleStr:String) -> MarkLabel {
        let titleLab:MarkLabel = MarkLabel()
        titleLab.font = UIFont.systemFont(ofSize: 12)
        titleLab.textAlignment = .center
        titleLab.text = titleStr
        titleLab.layer.cornerRadius = 3.0
        titleLab.layer.masksToBounds = true
        return titleLab
    }
    
}
